package com.tronsis.distribution.bean;

import java.io.Serializable;

public class UserBean implements Serializable {
    private boolean appNotice;//app通知开关

    private String avatarFid;//头像id

    private int buyLimit;//进货额度

    private int buyTotal;//已用进货额度

    private String code;//代理编号

    private int contribute;//贡献指数

    private String createdOn;//注册时间

    private double deposit;//已交押金

    private String id;//用户ID

    private String idCardName;//身份证名字

    private String idCardNo;//身份证号

    private String level;//等级:ABCD

    private String name;//名字

    private String phone;//手机/登录名

    private int points;//积分

    private String region;//地区

    private String role;//角色:AGENT(代理), UO_AGENT(准代理), STOCK_MAN(仓管), TRAINER(培训师) ]

    private double sales;//个人销售额

    private int stock;// 当前库存

    private String token;//接口认证令牌

    private String wechatId;//微信号

    private String wechatVcardFid;// 微信二维码ID

    private boolean united; //是否联创

    public boolean isUnited() {
        return united;
    }

    public void setUnited(boolean united) {
        this.united = united;
    }

    public boolean isAppNotice() {
        return appNotice;
    }

    public void setAppNotice(boolean appNotice) {
        this.appNotice = appNotice;
    }

    public String getAvatarFid() {
        return avatarFid;
    }

    public void setAvatarFid(String avatarFid) {
        this.avatarFid = avatarFid;
    }

    public int getBuyLimit() {
        return buyLimit;
    }

    public void setBuyLimit(int buyLimit) {
        this.buyLimit = buyLimit;
    }

    public int getBuyTotal() {
        return buyTotal;
    }

    public void setBuyTotal(int buyTotal) {
        this.buyTotal = buyTotal;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getContribute() {
        return contribute;
    }

    public void setContribute(int contribute) {
        this.contribute = contribute;
    }

    public String getCreatedOn() {
        return createdOn;
    }

    public void setCreatedOn(String createdOn) {
        this.createdOn = createdOn;
    }

    public double getDeposit() {
        return deposit;
    }

    public void setDeposit(double deposit) {
        this.deposit = deposit;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIdCardName() {
        return idCardName;
    }

    public void setIdCardName(String idCardName) {
        this.idCardName = idCardName;
    }

    public String getIdCardNo() {
        return idCardNo;
    }

    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getPoints() {
        return points;
    }

    public void setPoints(int points) {
        this.points = points;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public double getSales() {
        return sales;
    }

    public void setSales(double sales) {
        this.sales = sales;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getWechatId() {
        return wechatId;
    }

    public void setWechatId(String wechatId) {
        this.wechatId = wechatId;
    }

    public String getWechatVcardFid() {
        return wechatVcardFid;
    }

    public void setWechatVcardFid(String wechatVcardFid) {
        this.wechatVcardFid = wechatVcardFid;
    }
}
